package com.mew.common.entity.mop;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author ztq
 * @since 2021-07-27
 */

@Data
@ToString
@TableName("r_mop_tran_record")
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class MopTranRecord {


    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("from_user_id")
    private Long fromUserId;

    @TableField("to_user_id")
    private Long toUserId;

    @TableField("to_user_gid")
    private String toUserGid;

    /**
     * vip等级
     */
    @TableField("vip_level")
    private Integer vipLevel;

    /**
     * vip赠送
     */
    @TableField("vip_gold")
    private Long vipGold;

    /**
     * 基础金币数量
     */
    @TableField("send_gold")
    private Long sendGold;

    @TableField("befor_gold")
    private Long beforGold;

    @TableField("thb")
    private Long thb;

    @TableField("add_time")
    private Date addTime;

    /**
     * 邮件id
     */
    @TableField("mail_id")
    private Integer mailId;


    @TableField(exist = false)
    private Integer mailState;

}
